SipClientPublishEventState Method (String, String, Int32, PresenceDescription) |
Publishes initial event state.
Namespace:
Independentsoft.Sip
Assembly:
Independentsoft.Sip (in Independentsoft.Sip.dll) Version: 1.0.700.17927
Syntaxpublic RequestResponse PublishEventState(
string from,
string eventName,
int expires,
PresenceDescription presence
)
Public Function PublishEventState (
from As String,
eventName As String,
expires As Integer,
presence As PresenceDescription
) As RequestResponse
Parameters
- from
- Type: SystemString
A string contains address of the publisher of the event. - eventName
- Type: SystemString
A string contains name of the event. - expires
- Type: SystemInt32
A number of seconds indicates duration of the subscription. - presence
- Type: Independentsoft.Sip.PresencePresenceDescription
A presence description to publish.
Return Value
Type:
RequestResponseA
RequestResponse containing sent
Request and received appropriate
Response.
Exceptions
See Also